package com.ruoyi.stuhelp.mapper;

import java.util.List;
import com.ruoyi.stuhelp.domain.StudentsHelp;
import com.ruoyi.stuhelp.domain.vo.StudentCategoryHelpVo;

/**
 * 校园公益Mapper接口
 * 
 * @author atzxc
 * @date 2024-04-16
 */
public interface StudentsHelpMapper 
{
    /**
     * 查询校园公益
     * 
     * @param shelpId 校园公益主键
     * @return 校园公益
     */
    public StudentCategoryHelpVo selectStudentsAndCategoryHelpVoByShelpId(Long shelpId);
//    public StudentsHelp selectStudentsHelpByShelpId(Long shelpId);

    /**
     * 查询校园公益列表
     * 
     * @param studentsHelp 校园公益
     * @return 校园公益集合
     */
    public List<StudentsHelp> selectStudentsHelpList(StudentsHelp studentsHelp);

    /**
     * 新增校园公益
     * 
     * @param studentsHelp 校园公益
     * @return 结果
     */
    public int insertStudentsHelp(StudentsHelp studentsHelp);

    /**
     * 修改校园公益
     * 
     * @param studentsHelp 校园公益
     * @return 结果
     */
    public int updateStudentsHelp(StudentsHelp studentsHelp);

    /**
     * 删除校园公益
     * 
     * @param shelpId 校园公益主键
     * @return 结果
     */
    public int deleteStudentsHelpByShelpId(Long shelpId);

    /**
     * 批量删除校园公益
     * 
     * @param shelpIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteStudentsHelpByShelpIds(Long[] shelpIds);



    public List<StudentCategoryHelpVo> selectStudentsAndCategoryHelpList(StudentCategoryHelpVo studentCategoryHelpVo);
}
